package com.sh.data.engine.common.enumDefinition;

/**
 * @author: zigui.zdf
 * @description:
 * @date: 2021/6/21 13:32
 */
public enum FlinkJobStatusEnum {
    RUNNING(1, "运行中"),
    SUCCESS(2, "成功"),
    FAILURE(3, "失败"),
    STOPPED(4, "停止"),
    PAUSED(5, "暂停");

    int code;

    String name;

    FlinkJobStatusEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }
}
